import { createApp } from 'vue'
import ElementPlus from 'element-plus'
import 'element-plus/dist/index.css'
// 官⽅暗⿊模式样式
import 'element-plus/theme-chalk/dark/css-vars.css'
import router from './router/index'
import App from './App.vue'
import CustomCompoments from './components'
const app = createApp(App)
app.use(router)
// @ts-ignore
app.use(CustomCompoments)
app.use(ElementPlus)
app.use(router)
app.mount('#app')